package com.zengdw.order.api;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author zengdw
 * @createTime 2019/12/24 11:08
 */
@FeignClient("storage")
public interface StorageApi {
    @PostMapping("/update")
    public void update(@RequestParam Integer id, @RequestParam Integer count);
}
